package com.sayice.design.lab3_2.b;

/**
 * @author shubing
 */
public class UserGenerator {
    private static UserGenerator instance;
    
    private UserGenerator() {}
    
    public static UserGenerator getInstance() {
        if (instance == null) {
            synchronized (UserGenerator.class) {
                if (instance == null) {
                    instance = new UserGenerator();
                }
            }
        }
        return instance;
    }
}
